const Layout = () => import('@/layout/index.vue')
const equipment = () => import('@/views/equipment/equipment.vue')
const stock = () => import('@/views/equipment/stock.vue')
const binding = () => import('@/views/equipment/binding.vue')

export default [
  {
    path: '/equipments',
    component: Layout,
    name: 'equipments',
    meta: {
      title: '设备管理',
    },
    icon: 'Setting',
    children: [
      {
        path: '/equipment',
        name: 'equipment',
        component: equipment,
        meta: {
          title: '患者设备管理',
        },
      },
      {
        path: '/stock',
        name: 'stock',
        component: stock,
        meta: {
          title: '所有设备管理',
        },
      },
      {
        path: '/binding',
        name: 'binding',
        component: binding,
        meta: {
          title: '绑定设备记录',
        },
      },
    ],
  },
]